//main: ../rui.less

.btn {
    display: inline-block;
    *margin-right: .3em;
    margin-bottom: 0;
    padding: 6px 16px;
    *padding: 3px 16px;
    vertical-align: middle;
    width: auto;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-bottom-color: #ccc;
    border-bottom-width: 2px;
    border-radius: @radius;
    transition: border linear 0.1s, box-shadow linear 0.1s;
}
.btn,
.btn:hover,
.btn:visited {
    text-decoration: none;
    color: #333!important;
}
.btn:hover {
    border-color: #d6d6d6;
    background-color: #f5f5f5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.btn:active {
    background-color: #d6d6d6;
	border-color: #d6d6d6;
	box-shadow: none;
}


//风格
.btn-blue {
    background-color: @colorBlue;
	border-color: @colorBlueb;
}
.btn-blue,
.btn-blue:hover,
.btn-blue:visited {
    color: #FFF!important;
}
.btn-blue:hover {
    background-color: @colorBluea;
	border-color: @colorBlueb;
}
.btn-blue:active {
    background-color: @colorBlueb;
}

.btn-green {
    background-color: @colorGreen;
	border-color: @colorGreenb;
}
.btn-green,
.btn-green:hover,
.btn-green:visited {
    color: #FFF!important;
}
.btn-green:hover {
    background-color: @colorGreena;
	border-color: @colorGreenb;
}
.btn-green:active {
    background-color: @colorGreenb;
}

.btn-red {
    background-color: @colorRed;
	border-color: @colorRedb;
}
.btn-red,
.btn-red:hover,
.btn-red:visited {
    color: #FFF!important;
}
.btn-red:hover {
    background-color: @colorReda;
	border-color: @colorRedb;
}
.btn-red:active {
    background-color: @colorRedb;
}

.btn-yellow {
    background-color: @colorYellow;
	border-color: @colorYellowb;
}
.btn-yellow,
.btn-yellow:hover,
.btn-yellow:visited {
    color: #FFF!important;
}
.btn-yellow:hover {
    background-color: @colorYellowa;
	border-color: @colorYellowb;
}
.btn-yellow:active {
    background-color: @colorYellowb;
}

.btn-purple {
    background-color: @colorPurple;
	border-color: @colorPurpleb;
}
.btn-purple,
.btn-purple:hover,
.btn-purple:visited {
    color: #FFF!important;
}
.btn-purple:hover {
    background-color: @colorPurplea;
	border-color: @colorPurpleb;
}
.btn-purple:active {
    background-color: @colorPurpleb;
}


.btn-link {
    background: none;
    text-decoration: none;
    font-weight: normal;
}
.btn-link,
.btn-link:hover,
.btn-link:visited {
    background: none;
    background-image: none;
    border: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.btn-link:hover {
    color: #005580!important;
    text-decoration: underline;
}

.btn-blue,
.btn-green,
.btn-red,
.btn-yellow,
.btn-purple {
	text-shadow: 0px 1px 1px rgba(0,0,0,.2);
}

//尺寸

.btn-block {
    display: block;
    background-image: none;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
}
.btn-disabled {
    border: 1px solid #e0e0e0;
    border-bottom-color: #ccc;
    cursor: not-allowed;
}
.btn-disabled,
.btn-disabled:hover,
.btn-disabled:visited {
    color: #ccc !important;
    border: 1px solid #e0e0e0;
    background-color: #ededed;
    background-image: linear-gradient(top, #f2f2f2, #e6e6e6);
    background-repeat: repeat-x;
    box-shadow: none;
	cursor: not-allowed;
}
.btn-h22 {
    padding: 1px 10px;
}
.btn-mini,
.btn-h24 {
    padding: 2px 10px;
}
.btn-h30 {
    padding: 5px 10px;
}
.btn-h32 {
    padding: 6px 20px;
}
.btn-h44 {
    padding: 12px 20px;
    font-size: 14px;
}
.btn-group .btn {
    float: left;
    border-radius: 0;
    border-left-width: 0;
    margin: 0px;
}
.btn-group .btn:first-child {
    border-left-width: 1px;
    border-radius: @radius 0 0 @radius;
}
.btn-group .btn:last-child {
    border-radius: 0 @radius @radius 0;
}

//关闭(x)
.btn-close {
	float: right;
	font-size: 21px;
	font-weight: bold;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	-webkit-appearance: none;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
	filter: alpha(opacity=20);
	opacity: .2;
	transition: linear 0.1s;
}
.btn-close:hover,
.btn-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	filter: alpha(opacity=50);
	opacity: .5;
}
